package com.bytedance.common.plugin.interfaces.pushmanager;

import com.bytedance.common.plugin.interfaces.pushmanager.app.ShutPushType;

public class MessageCustomConfig {
    public static boolean sCloseAlarmWakeUp;
    public static boolean sCloseBootReceiver;
    public static boolean sConfirmNetWork;
    public static boolean sHwPushInclude;
    protected static boolean sMiPushInclude;
    protected static boolean sMyPushInclude;
    public static boolean sMzPushInclude;
    public static boolean sShowSettingsNotifyEnable;
    public static ShutPushType sShutPushType;
    public static boolean sUmengPushInclude;

    static {
        MessageCustomConfig.sConfirmNetWork = false;
        MessageCustomConfig.sCloseBootReceiver = false;
        MessageCustomConfig.sMiPushInclude = true;
        MessageCustomConfig.sMyPushInclude = true;
        MessageCustomConfig.sUmengPushInclude = true;
        MessageCustomConfig.sHwPushInclude = true;
        MessageCustomConfig.sMzPushInclude = true;
        MessageCustomConfig.sCloseAlarmWakeUp = false;
        MessageCustomConfig.sShowSettingsNotifyEnable = true;
        MessageCustomConfig.sShutPushType = ShutPushType.BACK_CONTROL;
    }

    public MessageCustomConfig(boolean arg3, boolean arg4, ShutPushType arg5, boolean arg6, boolean arg7, boolean arg8, boolean arg9, boolean arg10) {

        MessageCustomConfig.sConfirmNetWork = arg3;
        MessageCustomConfig.sCloseBootReceiver = arg4;
        MessageCustomConfig.sShutPushType = arg5;
        MessageCustomConfig.sMiPushInclude = arg6;
        MessageCustomConfig.sMyPushInclude = arg7;
        MessageCustomConfig.sCloseAlarmWakeUp = arg8;
        MessageCustomConfig.sShowSettingsNotifyEnable = arg9;
        MessageCustomConfig.sUmengPushInclude = arg10;
        MessageCustomConfig.setMyPushInclude(arg7);
        MessageCustomConfig.setPushInclude(arg6, arg10, MessageCustomConfig.sHwPushInclude, MessageCustomConfig.sMzPushInclude);
    }

    public static void setMyPushInclude(boolean arg1) {
        PushChannelHelper.getInstance().setMyPushInclude(arg1);
    }

    public static void setPushInclude(boolean arg2, boolean arg3, boolean arg4, boolean arg5) {
        MessageCustomConfig.sMiPushInclude = arg2;
        MessageCustomConfig.sUmengPushInclude = arg3;
        MessageCustomConfig.sHwPushInclude = arg4;
        MessageCustomConfig.sMzPushInclude = arg5;
        PushChannelHelper.getInstance().setMiPushInclude(arg2);
        PushChannelHelper.getInstance().setUmengPushInclude(MessageCustomConfig.sUmengPushInclude);
        PushChannelHelper.getInstance().setHwPushInclude(MessageCustomConfig.sHwPushInclude);
        PushChannelHelper.getInstance().setMzPushInclude(MessageCustomConfig.sMzPushInclude);
    }
}

